#include "GUIControl.h"
#include "GUIManager.h"

GUIControl::GUIControl(int width, int height)
:sf::FlashControl(width,height),titleBarHeight(0),markedForDeletion(false)
{
}

GUIControl::~GUIControl()
{
}

SwfUI::Argument GUIControl::onFlashCall(const std::wstring& functionName, const SwfUI::ArgumentList& args)
{
	return GUIManager::getInstance().callFunction(functionName,this,args);
}